When you create a user, you need to specify a user group for the new user, and a workgroup with the same name as the user name is automatically generated if you do not specify a workgroup to which the user is a member. When creating a user User1,
Create group:$ Sudo addgroup ccache
Create a user:$ Sudo useradd ccache-G ccache-m
Create a new wfz user and create the home directory. Specify the user group as ccache.$ Sudo useradd wfz-G ccache-m
Add existing users to a specified group$ Sudo
One, LINUX (ubuntu/centos) Users add delete Modify 1, build users:[Plain]View PlainCopy
AddUser Web//New Web user
Useradd web-m #添加web Users
passwd Web//Set password for Web users
Useradd web-g Admin-n-m//Create a new Web
After the installation of Ubuntu 13.04 Raring Ringtail, we have 30 more adjustments to make.1, Ubuntu 13.04 Raring ringtail After installation, I carried out a series of workDo you want to know what's new in the latest version of UBUTNU? I think the
1.ubuntu mouse blink problem occurs
After installing Ubuntu, the Ubuntu system identifies two monitors on the computer ("built-in monitor" and "unknown Monitor"), and the mouse does not blink when we close the unknown monitor.
Workaround: Turn off
Ubuntu user Management and permissions operation exampleYesterday in the reprint of this article mentioned that the file and directory permissions to the operation will be independent written to everyone, today specifically to learn the user
Summary of command knowledge about/etc/passwd,/etc/shadow,/etc/group, as well as user management and viewing of user information/etc/passwd filepasswd files are user-related information, package contains user name, password, belongs to the main UID,
View command Help (XXX/? In Windows)Command--help (-h)Mans commandInfo commandView Help for Linux built-in commandsHelp commandHelp ExportHelp forLs-al | More Flip screen (blank flip screen Q exit) (dir in Windows) (-H user-readable)1.sudo
1, create the dev group with the root permission to execute the groupadd command. sudo groupadd dev2, create bpuser user with adduser command,--ingroup specify user to join the dev group. sudo adduser bpuser--ingroup dev3, using Userdel to remove
Ubuntu create new users and increase administrator privileges Family2014-06-24 22:21:22$ is an ordinary administrator, #是系统管理员, under Ubuntu, the root user does not have a password by default and therefore cannot be used (supposedly for security).
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.